/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 * @author YDZ
 */
import { defHttp } from '/@/utils/http/axios';
import { useGlobSetting } from '/@/hooks/setting';
import { BasicModel, Page, TreeDataModel } from '../model/baseModel';

const { adminPath } = useGlobSetting();

export interface Sync extends BasicModel<Sync> {
  djType?: string; // 单据类型
  syncType?: string; // 同步类型
  selIds?: string; // 选中信息
 
}

export const syncFromU8C = (params?: Sync | any) =>
  defHttp.get<Sync>({ url: adminPath + '/bas/sync/syncFromU8C', params });

